package com.zs.common.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * Copyright 2020 ZS Network Co., Ltd. All rights reserved.
 * 本文件仅限于正数网络技术有限公司内部传阅，禁止外泄以及用于其他的商业目的。
 * Created by yuancong on 2022-12-02.
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_demo_user")
public class DemoUser  {

    @TableId("id")
    private Integer id;

    @TableField("code")
    private String code;

    @TableField("name")
    private String name;

    @TableField("description")
    private String description;

    @TableField("comment")
    private String comment;


    public DemoUser(Integer id, String code) {
        this.id = id;
        this.code = code;
    }

    public DemoUser() {
    }
}
